package test;
//圆形
public class Square implements Shape{
    double radius;

    public Square(double radius) {
        this.radius = radius;
    }

    @Override
    public double area() {
        return Math.PI * radius;
    }

}
